package com.thinkfit.jy.receiver;

import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
import android.util.Log;

import org.greenrobot.eventbus.EventBus;

public class WifiBroadcastReceiver extends BroadcastReceiver {

    private final String TAG = "WifiBroadcastReceiver";

    @Override
    public void onReceive(Context context, Intent intent) {
        Log.e(TAG, "action: " + intent.getAction());
        EventBus.getDefault().post(intent);
    }
}
